//
//  STBaseTableViewCell.h
//  赛拓
//
//  Created by 王磊 on 7/28/16.
//  Copyright © 2016 立金所. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "STBaseViewDelegate.h"
@interface STBaseTableViewCell : UITableViewCell

+ (instancetype)instanceWithCellIdentifier:(STCellType )cellIdentifier andBottomLineType:(HZSCellBottomLineType) bottomLineType;

- (void)configSubViews;
// cell 工厂
+ (STBaseTableViewCell *)baseTableViewCell:(STCellType)cellType forIndexPath:(NSIndexPath *)indexPath ;

// cell 高度工厂
+ (CGFloat)heightForCell:(STCellType)cellType withData:(id)data forIndexPath:(NSIndexPath *)indexPath;


@property (nonatomic ,weak) id<STBaseViewDelegate>mDelegate;

@property (nonatomic ,strong) NSIndexPath *indexPath;

- (void)updateData:(id)data ;

- (void)updateData:(id)data andAccessoryViewData:(id)accData;

@end
